<?php
class WordsController extends AppController {

	var $name = 'Words';

	function index() {
		App::import('Helper', 'Google');
		$google = new GoogleHelper();
		$google->FromLang = 'en';
		$google->ToLang = 'ru';
		echo $google->translate('Cake');
	}

}

